<?php

namespace app\api\validate;

use think\Validate;

class Evaluate extends Validate
{
    protected $rule = [
        "id" => "require",
        "content" => "require",
        "num" => "require"
    ];

    protected $message = [
        'id.require' => '请选择商品',
        'content.require' => '请输入评价内容',
        'num.require' => '请选择评分'
    ];

}